Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GROUP BY error if sql_mode "ONLY_FULL_GROUP_BY" is used [2.x] #295

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

halftrainedharry
Copy link

What does it do?

Changes the SQL query to only include the columns the result is grouped by (plus the 'id' column).

Why is it needed?

If the SQL-mode "ONLY_FULL_GROUP_BY" is used, the current code throws an error.

Related issue(s)/PR(s)

Resolves #293 for the 2.x branch.
Undoes the change from #281 (as I don't think it fixed the issue successfully).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FormItSaveForm ERROR: Filter by form name and encrypted forms component causing SQL error
1 participant